package main

import (
	"kugo/chess"
	"kugo/log"
	"kugo/ws"
)

type server struct {
}

func (s *server) ConnSuccess(socket *ws.SocketSingleton, data interface{}) {
	log.Info("连接成功")
}

func (s *server) CloseSocket(socket *ws.SocketSingleton) {
	log.Info("关闭连接")
}

var serverInstance *server = &server{}

func main() {
	log.Init("./logText", 0)
	chess.ServerUsercase.Start()
	for {
	}
}
